package org.light.framework.orm.annotation;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * 外键关联映射特性
 * @author de.cel
 *
 */
@Retention(RetentionPolicy.RUNTIME)
public @interface Belongs {
	String name();
	JoinBehaviour joinBehaviour() default JoinBehaviour.Left;
	int recursiveDeep() default 1;
	boolean readOnly() default false;
}
